package yt.kpool.bean;

import java.util.List;

/**
 * @Author:Created by  ygy
 * @time:2019/10/12
 */
public class MinerBean {

    /**
     * Type : 1
     * Content : 成功
     * Data : {"MinerList":[{"Name":"wx51x127","Hashrate":"14.490 T","Hashrate24H":"15.256 T","Reject":0,"LastShare":"2019-10-11 15:59:38"}],"OnNumber":1,"OffNumber":0,"LoseNumber":0,"RowsNumber":1}
     */

    private int Type;
    private String Content;
    private DataBean Data;

    public int getType() {
        return Type;
    }

    public void setType(int Type) {
        this.Type = Type;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String Content) {
        this.Content = Content;
    }

    public DataBean getData() {
        return Data;
    }

    public void setData(DataBean Data) {
        this.Data = Data;
    }

    public static class DataBean {
        /**
         * MinerList : [{"Name":"wx51x127","Hashrate":"14.490 T","Hashrate24H":"15.256 T","Reject":0,"LastShare":"2019-10-11 15:59:38"}]
         * OnNumber : 1
         * OffNumber : 0
         * LoseNumber : 0
         * RowsNumber : 1
         */

        private int OnNumber;
        private int OffNumber;
        private int LoseNumber;
        private int RowsNumber;
        private List<MinerListBean> MinerList;

        public int getOnNumber() {
            return OnNumber;
        }

        public void setOnNumber(int OnNumber) {
            this.OnNumber = OnNumber;
        }

        public int getOffNumber() {
            return OffNumber;
        }

        public void setOffNumber(int OffNumber) {
            this.OffNumber = OffNumber;
        }

        public int getLoseNumber() {
            return LoseNumber;
        }

        public void setLoseNumber(int LoseNumber) {
            this.LoseNumber = LoseNumber;
        }

        public int getRowsNumber() {
            return RowsNumber;
        }

        public void setRowsNumber(int RowsNumber) {
            this.RowsNumber = RowsNumber;
        }

        public List<MinerListBean> getMinerList() {
            return MinerList;
        }

        public void setMinerList(List<MinerListBean> MinerList) {
            this.MinerList = MinerList;
        }

        public static class MinerListBean {
            /**
             * Name : wx51x127
             * Hashrate : 14.490 T
             * Hashrate24H : 15.256 T
             * Reject : 0
             * LastShare : 2019-10-11 15:59:38
             */

            private String Name;
            private String Hashrate;
            private String Hashrate24H;
            private float Reject;
            private String LastShare;

            public String getName() {
                return Name;
            }

            public void setName(String Name) {
                this.Name = Name;
            }

            public String getHashrate() {
                return Hashrate;
            }

            public void setHashrate(String Hashrate) {
                this.Hashrate = Hashrate;
            }

            public String getHashrate24H() {
                return Hashrate24H;
            }

            public void setHashrate24H(String Hashrate24H) {
                this.Hashrate24H = Hashrate24H;
            }

            public float getReject() {
                return Reject;
            }

            public void setReject(float Reject) {
                this.Reject = Reject;
            }

            public String getLastShare() {
                return LastShare;
            }

            public void setLastShare(String LastShare) {
                this.LastShare = LastShare;
            }
        }
    }
}
